# $Id: PKGBUILD 67550 2012-03-13 12:10:00Z giovanni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>

pkgname=lal
pkgver=1.1
pkgrel=2
pkgdesc="A simple dockapp to display the date and/or time"
arch=('i686' 'x86_64')
url="http://projects.l3ib.org/lal/"
license=('GPL3')
depends=('libxft' 'libxt')
source=(http://projects.l3ib.org/$pkgname/files/$pkgname-$pkgver.tar.gz)
md5sums=('9fc87db08a5c74a7bbab4095e0868457')

build() {
  cd ${srcdir}/$pkgname

  make
}

package() {
  cd ${srcdir}/$pkgname

  install -D -m755 ${srcdir}/$pkgname/$pkgname ${pkgdir}/usr/bin/$pkgname
  install -D -m644 ${srcdir}/$pkgname/docs/$pkgname.1 \
    ${pkgdir}/usr/share/man/man1/$pkgname.1
}
